package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 养殖种类分类对象 classification_of_culture
 * 
 * @author ruoyi
 * @date 2024-05-13
 */

public class ClassificationOfCulture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分类主键id */
    private Long id;

    /** 分类父主键id */
    @Excel(name = "分类父主键id")
    private Long parentId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String name;
    // 塘口价格
    private Long threshingPrice;
    // 批发价格
    private Long wholesalePrice;
    // 零售价格
    private Long retailPrice;
    private Long ziquPrice;
    private Long songhuoPrice;
    private String label;
    private List<ClassificationOfCulture> children;


    public Long getZiquPrice() {
        return ziquPrice;
    }

    public void setZiquPrice(Long ziquPrice) {
        this.ziquPrice = ziquPrice;
    }
    public Long getSonghuoPrice() {
        return songhuoPrice;
    }

    public void setSonghuoPrice(Long songhuoPrice) {
        this.songhuoPrice = songhuoPrice;
    }


    public Long getThreshingPrice() {
        return threshingPrice;
    }

    public void setThreshingPrice(Long threshingPrice) {
        this.threshingPrice = threshingPrice;
    }

    public Long getWholesalePrice() {
        return wholesalePrice;
    }

    public void setWholesalePrice(Long wholesalePrice) {
        this.wholesalePrice = wholesalePrice;
    }

    public Long getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(Long retailPrice) {
        this.retailPrice = retailPrice;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<ClassificationOfCulture> getChildren() {
        return children;
    }

    public void setChildren(List<ClassificationOfCulture> children) {
        this.children = children;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("name", getName())
            .toString();
    }
}
